export const email = /^[A-Za-z\d]+([-_.][A-Za-z\d]+)*@([A-Za-z\d]+[-.])+[A-Za-z\d]{2,4}$/;
export const phone = /^1\d{10}$/;
export const emailOrPhone = /(^1\d{10}$)|(^[A-Za-z\d]+([-_.][A-Za-z\d]+)*@([A-Za-z\d]+[-.])+[A-Za-z\d]{2,4}$)/;
export const password = /^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/;
